package com.yicong.ants.ui.coin;

import android.view.View;
import android.view.ViewGroup;

import com.cchao.simplelib.core.ImageLoader;
import com.cchao.simplelib.core.UiHelper;
import com.cchao.simplelib.ui.activity.BaseTitleBarActivity;
import com.yicong.ants.R;
import com.yicong.ants.databinding.ActivityTransferDescriptionBinding;
import com.yicong.ants.manager.AppHelper;
import com.yicong.ants.manager.config.ZzConfigs;

public class TransferDescriptionActivity extends BaseTitleBarActivity<ActivityTransferDescriptionBinding> implements View.OnClickListener {
    @Override
    protected int getLayout() {
        return R.layout.activity_transfer_description;
    }

    @Override
    protected void initEventAndData() {
        setTitleText("转赠说明");
        setTitleBarVisible(false);
        AppHelper.transStatus(getWindow());

        mDataBind.setClick(this);
        ImageLoader.loadImage(mDataBind.transRuleImage, ZzConfigs.getClientConf().getTrans_rule_image());
    }

    @Override
    protected void onLoadData() {

    }

    @Override
    public void onClick(View v) {
        int id = v.getId();
        if (id == R.id.back) {
            onBackPressed();
        }
    }
}
